package com.cdtye.shuoh.util.text;

import com.cdtye.shuoh.domain.enums.DeviceType;

public class TdUtils {

    public static String getSubTableName(String supTbName, String deviceId) {
        return supTbName + "_" + deviceId;
    }


    public static String getSuperTableName(String productType, String productIdentification, String serviceName) {
        return DeviceType.parseByValue(productType).getKey() + "_" + productIdentification + "_" + serviceName;
    }


}
